const express=require('express');

const loginRouter=require('./Router/loginRouter');
const findoutRouter=require('./Router/findoutRouter');

const server=express();


server.use(express.static(__dirname+'/public'));
server.use(express.json());
server.use(express.urlencoded({extended:true}));


server.use(loginRouter);
server.use(findoutRouter);


server.listen(8080,function(){
    console.log('项目启动了')
});